<script setup>

</script>

<template>
<div>
  <h2>欢迎您: {{$route.params.id}}</h2>
  <router-link to="/user/001/profile">个人信息</router-link>
  <router-link to="/user/001/email">我的邮件</router-link>
  <div style="border: 5px solid #f5f5f5">
    <router-view></router-view>
  </div>
</div>
</template>

<style scoped>
a {
  margin-left: 10px;
}
</style>